/****************************************************************************
** Meta object code from reading C++ file 'MainWindow.h'
**
** Created by: The Qt Meta Object Compiler version 68 (Qt 6.5.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "MainWindow.h"
#include <QtCore/qmetatype.h>

#if __has_include(<QtCore/qtmochelpers.h>)
#include <QtCore/qtmochelpers.h>
#else
QT_BEGIN_MOC_NAMESPACE
#endif


#include <memory>

#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MainWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.5.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSMainWindowENDCLASS_t {};
static constexpr auto qt_meta_stringdata_CLASSMainWindowENDCLASS = QtMocHelpers::stringData(
    "MainWindow",
    "on_actionExit_triggered",
    "",
    "checked",
    "on_actionAbout_triggered",
    "on_actionAbout_Qt_triggered",
    "on_actionNew_triggered",
    "on_actionOpen_triggered",
    "on_actionImport_triggered",
    "on_actionExport_triggered",
    "on_actionTile_Horizontally_triggered",
    "on_actionTile_Vertically_triggered",
    "on_actionTile_triggered",
    "on_actionCascade_triggered",
    "loadFile",
    "fileName",
    "updateMenus",
    "updateRecentFileActions",
    "openRecentFile",
    "updateWindowMenu",
    "cancelFileLoading",
    "closeSubWindow",
    "closeAllSubWindows"
);
#else  // !QT_MOC_HAS_STRING_DATA
struct qt_meta_stringdata_CLASSMainWindowENDCLASS_t {
    uint offsetsAndSizes[46];
    char stringdata0[11];
    char stringdata1[24];
    char stringdata2[1];
    char stringdata3[8];
    char stringdata4[25];
    char stringdata5[28];
    char stringdata6[23];
    char stringdata7[24];
    char stringdata8[26];
    char stringdata9[26];
    char stringdata10[37];
    char stringdata11[35];
    char stringdata12[24];
    char stringdata13[27];
    char stringdata14[9];
    char stringdata15[9];
    char stringdata16[12];
    char stringdata17[24];
    char stringdata18[15];
    char stringdata19[17];
    char stringdata20[18];
    char stringdata21[15];
    char stringdata22[19];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_CLASSMainWindowENDCLASS_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_CLASSMainWindowENDCLASS_t qt_meta_stringdata_CLASSMainWindowENDCLASS = {
    {
        QT_MOC_LITERAL(0, 10),  // "MainWindow"
        QT_MOC_LITERAL(11, 23),  // "on_actionExit_triggered"
        QT_MOC_LITERAL(35, 0),  // ""
        QT_MOC_LITERAL(36, 7),  // "checked"
        QT_MOC_LITERAL(44, 24),  // "on_actionAbout_triggered"
        QT_MOC_LITERAL(69, 27),  // "on_actionAbout_Qt_triggered"
        QT_MOC_LITERAL(97, 22),  // "on_actionNew_triggered"
        QT_MOC_LITERAL(120, 23),  // "on_actionOpen_triggered"
        QT_MOC_LITERAL(144, 25),  // "on_actionImport_triggered"
        QT_MOC_LITERAL(170, 25),  // "on_actionExport_triggered"
        QT_MOC_LITERAL(196, 36),  // "on_actionTile_Horizontally_tr..."
        QT_MOC_LITERAL(233, 34),  // "on_actionTile_Vertically_trig..."
        QT_MOC_LITERAL(268, 23),  // "on_actionTile_triggered"
        QT_MOC_LITERAL(292, 26),  // "on_actionCascade_triggered"
        QT_MOC_LITERAL(319, 8),  // "loadFile"
        QT_MOC_LITERAL(328, 8),  // "fileName"
        QT_MOC_LITERAL(337, 11),  // "updateMenus"
        QT_MOC_LITERAL(349, 23),  // "updateRecentFileActions"
        QT_MOC_LITERAL(373, 14),  // "openRecentFile"
        QT_MOC_LITERAL(388, 16),  // "updateWindowMenu"
        QT_MOC_LITERAL(405, 17),  // "cancelFileLoading"
        QT_MOC_LITERAL(423, 14),  // "closeSubWindow"
        QT_MOC_LITERAL(438, 18)   // "closeAllSubWindows"
    },
    "MainWindow",
    "on_actionExit_triggered",
    "",
    "checked",
    "on_actionAbout_triggered",
    "on_actionAbout_Qt_triggered",
    "on_actionNew_triggered",
    "on_actionOpen_triggered",
    "on_actionImport_triggered",
    "on_actionExport_triggered",
    "on_actionTile_Horizontally_triggered",
    "on_actionTile_Vertically_triggered",
    "on_actionTile_triggered",
    "on_actionCascade_triggered",
    "loadFile",
    "fileName",
    "updateMenus",
    "updateRecentFileActions",
    "openRecentFile",
    "updateWindowMenu",
    "cancelFileLoading",
    "closeSubWindow",
    "closeAllSubWindows"
};
#undef QT_MOC_LITERAL
#endif // !QT_MOC_HAS_STRING_DATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSMainWindowENDCLASS[] = {

 // content:
      11,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       1,    1,  146,    2, 0x09,    1 /* Protected */,
       1,    0,  149,    2, 0x29,    3 /* Protected | MethodCloned */,
       4,    1,  150,    2, 0x09,    4 /* Protected */,
       4,    0,  153,    2, 0x29,    6 /* Protected | MethodCloned */,
       5,    1,  154,    2, 0x09,    7 /* Protected */,
       5,    0,  157,    2, 0x29,    9 /* Protected | MethodCloned */,
       6,    0,  158,    2, 0x08,   10 /* Private */,
       7,    0,  159,    2, 0x08,   11 /* Private */,
       8,    0,  160,    2, 0x08,   12 /* Private */,
       9,    0,  161,    2, 0x08,   13 /* Private */,
      10,    0,  162,    2, 0x08,   14 /* Private */,
      11,    0,  163,    2, 0x08,   15 /* Private */,
      12,    0,  164,    2, 0x08,   16 /* Private */,
      13,    0,  165,    2, 0x08,   17 /* Private */,
      14,    1,  166,    2, 0x08,   18 /* Private */,
      16,    0,  169,    2, 0x08,   20 /* Private */,
      17,    0,  170,    2, 0x08,   21 /* Private */,
      18,    0,  171,    2, 0x08,   22 /* Private */,
      19,    0,  172,    2, 0x08,   23 /* Private */,
      20,    0,  173,    2, 0x08,   24 /* Private */,
      21,    0,  174,    2, 0x08,   25 /* Private */,
      22,    0,  175,    2, 0x08,   26 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::QString,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_CLASSMainWindowENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSMainWindowENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSMainWindowENDCLASS_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<MainWindow, std::true_type>,
        // method 'on_actionExit_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'on_actionExit_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionAbout_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'on_actionAbout_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionAbout_Qt_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'on_actionAbout_Qt_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionNew_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionOpen_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionImport_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionExport_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionTile_Horizontally_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionTile_Vertically_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionTile_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_actionCascade_triggered'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'loadFile'
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'updateMenus'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'updateRecentFileActions'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'openRecentFile'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'updateWindowMenu'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'cancelFileLoading'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'closeSubWindow'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'closeAllSubWindows'
        QtPrivate::TypeAndForceComplete<void, std::false_type>
    >,
    nullptr
} };

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->on_actionExit_triggered((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->on_actionExit_triggered(); break;
        case 2: _t->on_actionAbout_triggered((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->on_actionAbout_triggered(); break;
        case 4: _t->on_actionAbout_Qt_triggered((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->on_actionAbout_Qt_triggered(); break;
        case 6: _t->on_actionNew_triggered(); break;
        case 7: _t->on_actionOpen_triggered(); break;
        case 8: _t->on_actionImport_triggered(); break;
        case 9: _t->on_actionExport_triggered(); break;
        case 10: _t->on_actionTile_Horizontally_triggered(); break;
        case 11: _t->on_actionTile_Vertically_triggered(); break;
        case 12: _t->on_actionTile_triggered(); break;
        case 13: _t->on_actionCascade_triggered(); break;
        case 14: { bool _r = _t->loadFile((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->updateMenus(); break;
        case 16: _t->updateRecentFileActions(); break;
        case 17: _t->openRecentFile(); break;
        case 18: _t->updateWindowMenu(); break;
        case 19: _t->cancelFileLoading(); break;
        case 20: _t->closeSubWindow(); break;
        case 21: _t->closeAllSubWindows(); break;
        default: ;
        }
    }
}

const QMetaObject *MainWindow::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_CLASSMainWindowENDCLASS.stringdata0))
        return static_cast<void*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 22;
    }
    return _id;
}
QT_WARNING_POP
